import base64

str=input('密码：')
str=base64.b64decode(str)
str=str.decode('utf-8')
x=len(str)
x=int((x-9)/2)
result=''
for i in range(x):
        result+=str[i]
result=result[::-1]
print(result)
